package com.fan.txl.mock.api.service.impl;

import com.fan.txl.mock.api.service.APIService;
import com.fan.txl.mock.api.service.RpcService;
import retrofit2.Retrofit;

/**
 * Created by os on 2017/4/2.
 * Title
 */

public class APIServiceImpl implements APIService {
    Retrofit mRetrofit;

    public APIServiceImpl(Retrofit mRetrofit){
        this.mRetrofit=mRetrofit;
    }

    @Override
    public RpcService getRpcService() {
        return mRetrofit.create(RpcService.class);
    }

}
